/**
 * 
 */
package com.sunwayhorizo.health.business.clinic.emr.document;

import java.util.List;

import javax.ejb.Local;

import com.sunwayhorizo.health.business.dto.ResultsDTO;
import com.sunwayhorizo.health.business.dto.clinic.emr.document.EmrWriterDTO;
import com.sunwayhorizo.health.hl7.common.Hl7Exception;

/**
 * @ClassName FirstMedicalRecordManager <br>
 * @PackageName com.sunwayhorizo.health.business.clinic.emr.document <br>
 * @Description 病程记录 <br>
 * @Author jinzw <br>
 * @Date 2011-03-16 <br>
 * @Version 1.0 <br>
 * @ModifiedDesc <br>
 * @ModifiedDate <br>
 * @ModifiedBy <br>
 * @Copyright 2010-2020 北京三维海容 All Rights Reserved. <br>
 */
@Local
public interface InpatientMedicalProcessManagerLocal {

	/**
	 * 新建首次病程
	 * @param emr
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO newFirstCourse(EmrWriterDTO emr) throws Hl7Exception;
	
	/**
	 * 新建病程记录
	 * @param emr
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO newInpMedPro(EmrWriterDTO emr) throws Hl7Exception;
	
	/**
	 * 删除电子病历
	 * @param emr
	 * @return
	 * @throws Hl7Exception
	 */
	@SuppressWarnings("rawtypes")
	public ResultsDTO delEmr(List ids) throws Hl7Exception;
	
	/**
	 * 删除病程记录，删除的时候需要重新修改文件内容
	 * @param emrDto
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO delInpatientMedicalProcess(EmrWriterDTO emrDto) throws Hl7Exception;
	
	/**
	 * 病程记录签名
	 * @param emr
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO medProcessSignature(EmrWriterDTO emr) throws Hl7Exception;
	
	/**
	 * 更新电子病历（未签名病程的保存）
	 * @param emr
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO updateMedEmr(EmrWriterDTO emr) throws Hl7Exception;
	
	

}
